package com.fcml.study.proxy.cglib;

public class Test {
    public static void main(String[] args) {
        //目标对象
        Singer singer = new Singer();
        //代理对象
        Singer proxy = (Singer) new ProxyFactory(singer).getProxyInstance();
        //执行代理对象的方法
        proxy.sing();
    }
}
